package example.lesson02_03;

import java.util.Scanner;

public class TestScanner {
    public static void main(String[] args) {
        //创建对象
        Scanner input=new Scanner(System.in);
        System.out.println("int:");
        int i=input.nextInt();
        input.nextLine();
        System.out.println("double:");
        double d=input.nextDouble();
        System.out.println("string:");
        String str=input.nextLine();
        System.out.println(i+":"+d+":"+str);
                
    }
}
